﻿using System.Collections.Generic;

namespace TaxiService.Bus
{
  public interface IMessageHandler<T> where T : IMessage
  {
    void Handle(T message);
    void Handle(IEnumerable<T> messages);
  }
}
